﻿using NodeEditor;

namespace ETHotfix
{
    [NodeEvent(typeof(SetIntNode))]
    public class SetIntNodeHandle : NodeHandle<SetIntNode>
    {
        protected override void OnHandle(RuntimeTree runtimeTree, RuntimeNode runtimeNode, SetIntNode data, Unit unit)
        {
            runtimeTree.runtimeValue.SetValue(data.key, data.value);
        }
    }
}